<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../jquery/jquery-3.6.0.js"></script>
</head>
<body>
    <h1>欢迎来到我的主页</h1>
    <p>我是唐老鸭 (index 0)。</p>
    <p>唐老鸭 (index 1)。</p>
    <p>我住在 Duckburg (index 2)。</p>
    <p>我最好的朋友是米老鼠 (index 3)。</p>
    <script>
        $(document).ready(function(){
            $("p").eq(2).css("background-color","pink");
        })
    </script>
</body>
</html>